package com.yulinlin.admin.core.domain;

import com.yulinlin.jdbc.model.AbstractModel;
import com.yulinlin.jdbc.model.anno.JoinField;
import com.yulinlin.jdbc.model.anno.JoinPrimary;
import com.yulinlin.jdbc.model.anno.JoinWhere;
import com.yulinlin.lang.util.GenericUtil;
import lombok.Data;

import java.util.Date;

@Data
public abstract class SuperEntity<E> extends AbstractModel<E> {

    @JoinField
    @JoinWhere
    @JoinPrimary
    private Long id;

    @JoinField
    @JoinWhere
    private Date crtTime;

    @JoinField
    @JoinWhere
    private Date uptTime;


}
